// packageA/components/franch-nav/index.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    currentIndex:Number
  },

  /**
   * 组件的初始数据
   */
  data: {
    list:[
      {
        title:'首页',
        icon:'/packageA/images/1.png',
        selected_icon:'/packageA/images/1_selected.png',
        path:wx.getStorageSync('role_id') == 18 ? '../../franchisee/index/secondindex' : '../../franchisee/index/index'
      },
      {
        title:'账户中心',
        icon:'/packageA/images/6.png',
        selected_icon:'/packageA/images/6_selected.png',
        path:'../../franchisee/account-manage/index'
      },
      {
        title:'素材中心',
        icon:'/packageA/images/4.png',
        selected_icon:'/packageA/images/4_selected.png',
        path:'../../franchisee/matter-center/index'
      },
      {
        title:'退出',
        icon:'/packageA/images/out.png',
        selected_icon:'/packageA/images/4_selected.png',
        path:'/pages/login/login'
      },
    ]
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})
